package com.ry.timer;

import java.util.TimerTask;

public class MyTask extends TimerTask {

    @Override
    public void run() {
        long currentTime = System.currentTimeMillis();
        System.out.println(currentTime);
    }
}
